package com.worthtech.billportal.bean;

/**
 * CsPepJnlsMonthId entity. @author MyEclipse Persistence Tools
 */

public class CsPepJnlsMonth implements java.io.Serializable {

	// Fields

	private String pepdate;
	private String peptime;
	private String outcdno;
	private String intcdno;
	private String tranamt;
	private String bit15;
	private String bit28;
	private Integer trace;
	private String UType;
	private String terminalno;
	private String merName;
	private String orgName;
	private String msg;
	private String sdrespn;

	// Constructors

	/** default constructor */
	public CsPepJnlsMonth() {
	}

	/** full constructor */
	public CsPepJnlsMonth(String pepdate, String peptime, String outcdno,
			String intcdno, String tranamt, String bit15, String bit28,
			Integer trace, String UType, String terminalno, String merName,
			String orgName, String msg, String sdrespn) {
		this.pepdate = pepdate;
		this.peptime = peptime;
		this.outcdno = outcdno;
		this.intcdno = intcdno;
		this.tranamt = tranamt;
		this.bit15 = bit15;
		this.bit28 = bit28;
		this.trace = trace;
		this.UType = UType;
		this.terminalno = terminalno;
		this.merName = merName;
		this.orgName = orgName;
		this.msg = msg;
		this.sdrespn = sdrespn;
	}

	// Property accessors

	public String getPepdate() {
		return this.pepdate;
	}

	public void setPepdate(String pepdate) {
		this.pepdate = pepdate;
	}

	public String getPeptime() {
		return this.peptime;
	}

	public void setPeptime(String peptime) {
		this.peptime = peptime;
	}

	public String getOutcdno() {
		return this.outcdno;
	}

	public void setOutcdno(String outcdno) {
		this.outcdno = outcdno;
	}

	public String getIntcdno() {
		return this.intcdno;
	}

	public void setIntcdno(String intcdno) {
		this.intcdno = intcdno;
	}

	public String getTranamt() {
		return this.tranamt;
	}

	public void setTranamt(String tranamt) {
		this.tranamt = tranamt;
	}

	public String getBit15() {
		return this.bit15;
	}

	public void setBit15(String bit15) {
		this.bit15 = bit15;
	}

	public String getBit28() {
		return this.bit28;
	}

	public void setBit28(String bit28) {
		this.bit28 = bit28;
	}

	public Integer getTrace() {
		return this.trace;
	}

	public void setTrace(Integer trace) {
		this.trace = trace;
	}

	public String getUType() {
		return this.UType;
	}

	public void setUType(String UType) {
		this.UType = UType;
	}

	public String getTerminalno() {
		return this.terminalno;
	}

	public void setTerminalno(String terminalno) {
		this.terminalno = terminalno;
	}

	public String getMerName() {
		return this.merName;
	}

	public void setMerName(String merName) {
		this.merName = merName;
	}

	public String getOrgName() {
		return this.orgName;
	}

	public void setOrgName(String orgName) {
		this.orgName = orgName;
	}

	public String getMsg() {
		return this.msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public String getSdrespn() {
		return this.sdrespn;
	}

	public void setSdrespn(String sdrespn) {
		this.sdrespn = sdrespn;
	}

	public boolean equals(Object other) {
		if ((this == other))
			return true;
		if ((other == null))
			return false;
		if (!(other instanceof CsPepJnlsMonth))
			return false;
		CsPepJnlsMonth castOther = (CsPepJnlsMonth) other;

		return ((this.getPepdate() == castOther.getPepdate()) || (this
				.getPepdate() != null
				&& castOther.getPepdate() != null && this.getPepdate().equals(
				castOther.getPepdate())))
				&& ((this.getPeptime() == castOther.getPeptime()) || (this
						.getPeptime() != null
						&& castOther.getPeptime() != null && this.getPeptime()
						.equals(castOther.getPeptime())))
				&& ((this.getOutcdno() == castOther.getOutcdno()) || (this
						.getOutcdno() != null
						&& castOther.getOutcdno() != null && this.getOutcdno()
						.equals(castOther.getOutcdno())))
				&& ((this.getIntcdno() == castOther.getIntcdno()) || (this
						.getIntcdno() != null
						&& castOther.getIntcdno() != null && this.getIntcdno()
						.equals(castOther.getIntcdno())))
				&& ((this.getTranamt() == castOther.getTranamt()) || (this
						.getTranamt() != null
						&& castOther.getTranamt() != null && this.getTranamt()
						.equals(castOther.getTranamt())))
				&& ((this.getBit15() == castOther.getBit15()) || (this
						.getBit15() != null
						&& castOther.getBit15() != null && this.getBit15()
						.equals(castOther.getBit15())))
				&& ((this.getBit28() == castOther.getBit28()) || (this
						.getBit28() != null
						&& castOther.getBit28() != null && this.getBit28()
						.equals(castOther.getBit28())))
				&& ((this.getTrace() == castOther.getTrace()) || (this
						.getTrace() != null
						&& castOther.getTrace() != null && this.getTrace()
						.equals(castOther.getTrace())))
				&& ((this.getUType() == castOther.getUType()) || (this
						.getUType() != null
						&& castOther.getUType() != null && this.getUType()
						.equals(castOther.getUType())))
				&& ((this.getTerminalno() == castOther.getTerminalno()) || (this
						.getTerminalno() != null
						&& castOther.getTerminalno() != null && this
						.getTerminalno().equals(castOther.getTerminalno())))
				&& ((this.getMerName() == castOther.getMerName()) || (this
						.getMerName() != null
						&& castOther.getMerName() != null && this.getMerName()
						.equals(castOther.getMerName())))
				&& ((this.getOrgName() == castOther.getOrgName()) || (this
						.getOrgName() != null
						&& castOther.getOrgName() != null && this.getOrgName()
						.equals(castOther.getOrgName())))
				&& ((this.getMsg() == castOther.getMsg()) || (this.getMsg() != null
						&& castOther.getMsg() != null && this.getMsg().equals(
						castOther.getMsg())))
				&& ((this.getSdrespn() == castOther.getSdrespn()) || (this
						.getSdrespn() != null
						&& castOther.getSdrespn() != null && this.getSdrespn()
						.equals(castOther.getSdrespn())));
	}

	public int hashCode() {
		int result = 17;

		result = 37 * result
				+ (getPepdate() == null ? 0 : this.getPepdate().hashCode());
		result = 37 * result
				+ (getPeptime() == null ? 0 : this.getPeptime().hashCode());
		result = 37 * result
				+ (getOutcdno() == null ? 0 : this.getOutcdno().hashCode());
		result = 37 * result
				+ (getIntcdno() == null ? 0 : this.getIntcdno().hashCode());
		result = 37 * result
				+ (getTranamt() == null ? 0 : this.getTranamt().hashCode());
		result = 37 * result
				+ (getBit15() == null ? 0 : this.getBit15().hashCode());
		result = 37 * result
				+ (getBit28() == null ? 0 : this.getBit28().hashCode());
		result = 37 * result
				+ (getTrace() == null ? 0 : this.getTrace().hashCode());
		result = 37 * result
				+ (getUType() == null ? 0 : this.getUType().hashCode());
		result = 37
				* result
				+ (getTerminalno() == null ? 0 : this.getTerminalno()
						.hashCode());
		result = 37 * result
				+ (getMerName() == null ? 0 : this.getMerName().hashCode());
		result = 37 * result
				+ (getOrgName() == null ? 0 : this.getOrgName().hashCode());
		result = 37 * result
				+ (getMsg() == null ? 0 : this.getMsg().hashCode());
		result = 37 * result
				+ (getSdrespn() == null ? 0 : this.getSdrespn().hashCode());
		return result;
	}

}